add offset case
Merge remote-tracking branch 'origin/master'