replaced wordrepository with wordpool