switching to flux