update documentation, and remove logging