tweaks to lists code