Initialize snippet