chnged the terminal type