added PHPdoc