the second change

copied the example from the program assigment