refactor initialPop