more progress on terminal