I think we need to settle if we use associative arrays or object for stuff like this as I was using arrays :)