cleaned up dead code.