Reformat code for readability