added documentation and got to 10/10 for pylint