snippet demo