tries changes from piazza answer, did not work