I don't think you have to unset those variables - they will be overwritten in the next call. If you are worried about the scope you might want to choose a variable name starting with `_` or move parts of it into a function.