added package_template (documentation needed)