Adding final version of snippet.