finished!

with a doctest too