added Materials + Nao code