remove word function done