Corrected indent, added function comment