add time scaling