Modified zend tutorial