Cleaning up the system