Add inf decoding