refactor put_v and get_v to RC