implement main_material_package