add define and branch tooltips