changed 'read' and 'write' to 'serialize'