now it does work as intended, at writing time...