multiple entrypoint support