Sample code for Groupon