corrected typos and deleted comments