updated documentation and removed a suspicious debug print statement