changes from ch for offset.