added material resource.