set up on terminal machine