search works finally