you are use array index more than own array at line 20