fixed/added phpdoc
added more log points