Refactor: Use type WORD instead of USHORT.