Small change to class constructor
Added overloaded constructor