Fixed wrong array - need for i=0 cycle