add support for field decoding