Added Comments and changed names of some of my variables