changed braces location for methods