lib/population.js