trying to get index in docs to work