adding terms