cleaning up, and the losing process is nicer