Amended to parse variable.