adds apply_measures method