changes in print() methods