coudnt get a class or instance variable to do the right thing.