aposteriori prob saving to DB