more transformation on sweep, compiles only