reorrganize
a better way of rounding
more loan value tests
throw errors