added validation of new orders