added index, ignoring the template