cleaned up egregious code