Formatting code to make it pretty