Modified recentTasks() to return additional information