Added print handler