before moving with assign and unassign tasks