Depricated existing constructor and added two new constructors