Modeling Customer Behavior In Loyalty Programs