#32 updating search() to filter data