add functions for words