Reformatted the code for visual elegance.