Adding terminal input