remove debugging info, added doc