do some number crunching