search working
finished search
search with types