cleanup of unused variable
Corrects error #65 and implements enhancement #70.