adjusted doctest