added file showing use of singleton method