building up infrastructure to do PULSE decoding