improvement: always set up TERM variable