Better formatting and fixed syntax error