added doc; removed debugging