added init for wordpredict