Function write (4/32)

Function write