brace on wrong line, should be same as if statement