working on Census API, separating concerns