removed old cruft

when the hell did I write these functions and why????