snippet model