first part of measurements import