Made corrections to code done yesturday.