use reference to fill in materials