public void Run() { NumberValidator checker = new NumberValidator(Number); if (!checker.IsNumber()) { consoleViewer.ShowExpression("instruction");//todod return; } if (!checker.HasRightLength()) { consoleViewer.ShowExpression("instruction");//todo return; } Context destinationPhrase = new Context(Number); Interpretator transletor = new Interpretator(); transletor.Interpret(destinationPhrase); consoleViewer.ShowExpression(destinationPhrase.Output); }