flow chart (Demo)