changed how tasks are constructed to be simpler