changed docs, all doctests now pass