made dict into dict of lists and redid search