@Override
    public void recieveEvent(Event event) {
        if(event.getEventType() == EventType.OUTPUT) {
            String text = (String) event.getData();
            voice.speak(text);
        }
//        System.out.println(this.getClass().toString() + " recieved event:");
//        System.out.println(event);
    }