correct matching