doctest prompt now working