add valueType to Binary Search Tree