Fixed snippet and deleted old ones