added printing example