configurable classes in timer creator function