search func submit