add general index