terminal code with mousewell ok