first draft pretti_calc done. Now on to table display..