initial import of dynamic timer initialization code