Added singleton snippet