Simplify
Field types one
Add all to the contract
Move register out of the loop
Bind out of the box