adding phpdoc