adjusting to time change