we should not need to have the entrypoint as the first argument