task definition example