working on setup code for measuring optimizations