updating docs and reaching branch coverage