added functionality to week