improve documentation, remove debugger statement