added date shifting