adjusted line spacing for style consistency and added a missing semicolon