updated terminal example