split up long line
test doctests as well