integrated the define terms in the floating toolbar method