you will have to put some checks for values in data[0],data[1],data[2]. Do some sanity checks like values should not have bare single quotes or...
Separate names with a comma.