wip
Add flush.