offerexists in database