some debugging on the struct of dirnet and making make work