Removed some junk code and lines, added comments.