split out token matching