Implement readwriter + example