add select snippet