added implementation for one word