Spain secured a convincing 3-1 home win over Kosovo in a World Cup qualifier on Wednesday, although goalkeeper Unai Simon made a huge blunder to cost his side a goal.
Dani Olmo gave Spain a deserved lead in the 34th minute with a delicate chip to add to his winner against Georgia in their last game, and Ferran Torres fired in the second goal two minutes later.
Spain looked in total control as they dominated possession but they allowed Kosovo back into the game in the 70th minute when Simon lost the ball after rushing out of his box and Besar Halimi pounced to score from distance.
But the home side restored their two-goal cushion five minutes later after a header from Gerard Moreno, and saw out the win to move top of Group B with seven points after three games.
"I'm very happy with what I saw on the pitch today. We played a great game and our victory was never in doubt," Spain coach Luis Enrique said.
Spain had faced much criticism for their sluggish start to qualifying after a 1-1 home draw with Greece and a scrappy 2-1 victory in Georgia.
After that, Enrique said he was very worried about his side's struggles to break down tight teams intent on defending.
Practically everything clicked into place on Wednesday, as Pedri, 18, pulled the strings in midfield while Ferran and Olmo used their pace to help prise open Kosovo.
After Olmo's chip broke the deadlock, Pedri laid on the pass for Ferran to double Spain's lead with a darting run before firing into the opposite corner of the net.
"We were ruthless in front of goal today but we need to keep on working because there's a lot of room to improve," midfielder Koke said.
"We know people expect a lot of us but there are no easy games at this level. Every team wants to be at the World Cup and no one is winning games comfortably."
Playing with flair and confidence that recalled a young Andres Iniesta, Pedri carved open the visitors again in the second half.
He would have added another assist had Moreno not wasted a clear opportunity by shooting straight at Kosovo keeper Samir Ujkani.
The only sour note for Spain concerned Simon, whose error will start another debate over who should be their number one keeper in the European Championships in June.
The mistake came at a crucial stage in the season for the Athletic Bilbao keeper, who is set to play in the Copa del Rey final against Real Sociedad on Saturday.
"Unai should keep doing what he does because he gives me a lot of confidence," Enrique said.
"I don't judge my players for their errors, they are part of this sport. Learning to overcome little mistakes is all part of growing as a player."