add example for custom engine usage