4. dfs and visitor declaration added