From: "josh j." Date: 2012-01-29T15:48:17+09:00 Subject: Re: Class variables Thanks for your response so quickly! 1. I was using instance variables but used class variables in the example to demonstrate the problem about multiple instances of FieldController. 2. I forgot to put the initialize method around the variables in the example 3. To make it easy to read I re wrote it as simply as possible(cutting most methods from it). Each Space1,2 etc has 3 values, all the variables are then inside another variable called @allspaces (by mistake omitted this) 4. I'm not really sure if I need to use a global variable but I'll try not using it. 5. I'm not even sure what wasn't working because I was doing pretty much everything you said but I re wrote it and now it works. Before when I tried to go "field1.addcard(parameters)" it would do this (simplified) @allspaces.each{|space| if space[0] == 0 space[0] = 1 end } but after this I would try outputting @allspaces and no vales were changed, now it works! Regards Joshua -- Posted via http://www.ruby-forum.com/.