Started on the glintRef cpp file