pep fixes
added docs