more freeing of variables