add time provider class