More complicated measure generation