logging added to meassurment