added term_mate