continued binary node implementation