added day offset method