Morocco advanced to the last 16 of the Africa Cup of Nations with a 2-0 victory over Comoros in Group C.
Selim Amallah fired in a loose ball to open the scoring, and Zakaria Aboukhlal slotted in to complete the win for the Atlas Lions in the last minute.
They will be far from satisfied with a wasteful performance which included a missed penalty by Sevilla striker Youssef En-Nesyri.
Comoros keeper Salim Ben Boina put in a hugely impressive display but could not prevent a defeat for the debutants.
Morocco have maximum points from their opening two games but were sloppy in front of goal - to the obvious frustration of coach Vahid Halilhodzic on the touchline.