Tried to assign the input value to array. Doesn't seem work
fixed the array