currently timing and optimizing procedure