from my github class at groupon