updating use of SGL