adding instructions for profiling and timings