added endpoint and testing