Changes

Change some errors in the code and formatting