add type for offset vector