added support for print addresses