You should have blank space before `{` everywhere in the code.