FIX: doctest