reformatting and adding phpdoc
some phpdoc