Just added some commenting and removed unecessary commentted out code