Improved doString