setting up subtasks