remove commented out code, update doc