better printing and examples