adapted to the final version. added topo file and others