removing docs and output