progress made in modifying the first column of the keyArray, bug somewhere though