Screwed up endpoint usage. Fixing