Label matching function following brainstorming session with Colin