changed order of tasks