move word population to method