list should initialize tasks with an empty array