regOffset method added tsOffset