added realizarPedido method