codes to measure name and vice versa