doc and clean