[SD DFS] add Index and function declartion