instantiate class with an overload