adds *search* method to todolist and items