added phpdoc