Finished the material request coding