corrected some of the differences between the code given and the wanted code, still does not work