validations for orders
slight adjustment