flush -> finish and make the compute loop run in native code
format