glass embedding