working, basic field code generation for reader. needs sequence exit.