implemented agencyList command