replace curly braces with round parentheses in constructor