population decoding code