update to new constructor