Added resetAssignment