[MOD] adapting read and writes