added HIT logic trying to work on dealer side