Chain variable now works