added day to window
added day to window