Reformatting the code