regularizes

not defined yet