Working issues and doctest