How does the EAP work?