Removed some commented-out code and fixed a typo in the comment