drafted engine and added entrypoint