Started some commenting. Fixed bug.