Reformatting. Added further comments