basic function of task detail