removed varargs syntax from method constructors