reworked engine API