added a search function for the foo element

it is operational, but does not display the relevent foo.. yet