add top snippet