added headers and deleted blocks of commented code.