implemented wordmap