more docs
bit of code cleaning