added validation to place order