vector uses RCPtr