Added variable and interpolation to code