create overloaded constructor in client