cleaned up residue functions and assets from GSCML