ap through select