Re-did main to print data