search functionality added on the main frame