mid-terminal implementation
terminal is fully implemented