Reformatted all the code