Incomplete search implemented, have base for search to work