Add print to callback