searching from GUI