Added to write()
Finished write() up to technology