annoted example of serial flow implementation