classify and debug endpoints