added ability to keep track of unused text