added comments and did some formating
added comments still works
edited some comments still works
added some comments