Separated measuring section of the code into 2 pt