items.length instead of final_i