Added a new constructor