add timing measurements