final flow design