updated task definition syntax