Fixed mistake anf added accessPoint storing