modified form for search