Added (length) and (write)