adds some tweaks to create flow