implement main_material_price model