working 4.1.3 example without manual flushing yet