add buttons and tooltips