split terminal object logic out of __call
fixed doc stuff