slight logic fix - write flows in pairs now