Added new constructor to expose parameters