Use data instead of value for variable name

Before cond. do data = data.toLowerCase()