MODIFIED TERMINAL