Changed the commenting and fixed a bug where I accidentally deleted half of my code