checking validation of pricing