Added time adjustment functionality