implement pipeline support in terminal