rename func
try to reduce edges before/after