removed duplicate write
thingy