Added creating deals logic