working on BinaryNode methods