search for better parameters