use of singleton design pattern 1