remove mkdiring
adding some print statements and error viewing things