printall method now functional