checking offset