findData works for 1st value

findData now finds and returns the correct value assuming its the first
value in the array data