tweaks to doublerange