- adapted to time-engine API changes