make timeunit configurable.