register engine as global