mopWord function