use new terminal from lib