Added a second constructor