flush out code and flow