implemented fetch all tasks