added validation for sales