keys.length - 1 ? not sure if it is or not, but trying to make this dynamic.