should also note that error checking for messed up files also added in prev ver
finished dndi