ap_rep