tweaks to flow