make snippet names optional