add Singleton patterns