use zend hash to get the last object