adding back in time sync functionality