delete unneccessary variable