removed some old debug code and updated a comment