implemt time adjusting