added debug with zend interface