working highlighting for results and two model functionality