Function write (24/32)

Function write