removed default values from function definitions to where the task is being run from