needed to require endpoint_base