extracted data.* write operations to private method