add final index