Functional and smart materials