Made a print for error checking