Renamed code, added comments, deleted comments.