removing debug code, adding code comment