Shift time modeling

@lanmeng , maybe this post can help you: