finished UI for search