firstIndex added