added list_task functions