Added terminal interface