adding readwrite piece