cleans out unused code