minor. Typos and removed commented code