added correct endpoints