added day switching