again fixing the stupid curly braces