add function for time statics