public static Singleton getInstance2(){
        //Lazy initialization, only create when needed
        if(instance == null){
            synchronized(Singleton.class){
                if(instance == null){
                    instance = new Singleton();
                }
            }
        }
        return instance;
    }