Modified Multiflow printing function