added priority to task