shiftDay function rough coded