cleans out unused and unneeded methods