public static synchronized EventManager getInstance() {
                if (instance == null) {
                        instance = new EventManager ();
                }
                return instance;
        }