I'm not totally clear on how this class is used but this should probably be volatile