exact search implemented