search box functionality commiting