added the rest of the endpoints