created models
refined model. Solved the offer permutations algo