egregious errors fixed