set/get methods written for some basic types
wordcountlocal updatet for tuple