return type of getTaskList changed to List