adding unique hash to order
state not blank