- changed the endpoint to a simple string