expanded hacked algorithm into static field decoders