1. Check the AP version and initialize