Function write (9/32)

Function write