Smart structures