entry_endpoints: start with i = 1