modify draw flow