Added another GetTasks method