WAP working explained