modified population to modify through side effect