Changed task creation to initialize 3 different tasks.