I don't think that variable does what you think it do