Not really clear. A capx would help, otherwise we have to re-create it from scratch. Can you post what you've tried?
So the main object has one instance variable? (you mention 'the main objects variables', plural)
How does an 'area' have a variable? And do you really mean local variable, or instance variable?
Help us to help you.