Did some stuff. Realised I have to replace flush logic.