Undefined variable
Add more cleanup functions