Performing basic operations with a task