trying term.write