name substr working. TODO separate out exact and substr matches and display separately