tweaks to run more smoothly on data