writing 297 devices