refactoring to use ting_agency for handling requests