adding snippet docs