adding term variable