created singleton and instantiated it