Reformatted code properly to my rules.