update to new interface