removed some unused code from comments