task.initial code changed