add measurecode