Add Singleton Code Snippet