DFS_PrepareST written not tested