updated phpdoc comments