Added measurement code.