updated the SGL package to use naive df calculation