refactor DelayTypes.cs