a_priori working