added triple materials and click color change