updated terminal input