Reformating the code