Explroation of singleton pattern