beginning work on refcounted data