draining process