refactor to do a line-by-line search and poem ADT