remove old code (doctests)