use __unsafe_get on cpp