Replace old print statement