Added WordRpl function