add binary tr