Adds sample snippet