Adds sg snippet