i think i got the mistake i made...the indexes are 1 and 2, but they should be 0 and 1