update to new constructor name API