Added terminal input