Solution using embed