breaking tasks into do blocks