delete unused code, minor cleanup