finish logic to control weekchange