refactored params to use zend object