decode being written