removed unreferenced variable