corrected flowFunction subclass headers