Changed "local T, C, L = select(2, ...):unpack()" to "local D, C, L = select(2, ...):unpack()"