Small fix as I referenced a non-existant variable rather than the string 'x'