added more task management functionality