edited population functions