add some profiling for posterity's sake