How the AIS Works