deleted commented code, and added comments to code.