working on the search function, look into siblings of spans for logic behind result