Implements Measure generation