add grating ref