add terminal open method