more efficient clearing