Edit: measure.py