Reformatted some code