adding doc index