changed endpoint to /