harmonisation engine code