format code for more readability