Singleton pattern example