updated entrypoint