add index entrypoint