Removed debug code, changed doc