adding flow.dot diagram