add timing stuff to profile