Formulas which are central to the operation of the jails.me project