Refactor populatiion and inflation methods into one method