Dumper helped.
I made a typo,
_i_eoc_reason , this was suppose to be _eoc_reason
This program is not even close to being finished but so far looks ok... I always thought I should be using dumper but until you actually put it down there with how I should look at things, I dind't think it was usefull.. but it showed me what I was doing wrogn right away
thank you!!