I have been looking through and found this link
But am unsure how to implement this to grab the actual variable.