I made a lot of changes in the code and put x-repeat to work and added the $ as an index variable inside it.  now I will have a lunch ...  after that I will work in the Model