Implemented basic time-window functionality and ensured all tests are passing