added dictionary file and word picking method