price validation implementation