bit of docs
doc input
cleanup and docs