moved closing brace