should now be returning correct searched for value