saving after completing the assignment