Create snippet