add endpoints.patch