Commented everything and fixed indentation to be 4 spaces per level.