Reformatted the code snippet