added tuplestore example code