"added routes to query by state"