modify to accomodate census data