Wasnt defrefencing the previous location
location 0, arrays start from 0 :P
Setting location twice