using number of residents in calculation