Add Singleton Code