code of the assignment