How does the SEM work?