replaced curly braces for classes