set up string and array functions for each word