new method for adjusting time