conforming to new interface.