Added support for multi material