changed content val to value val. To enable deployment of binary tree structure.