creating deal model