take out unused code