add setting of terminal