theo confirmed it works, and added name property to materials