upgraded sample index to bootstrap 3 as well