added affiliate model.