small changes to the task functions