change the endpoints for consistency