tweaked exploration to avoid g++ warning