added connecttoAP2