add register entrypoint