added phpdoc for global vars