added new ZF2 implementation with performance enhancements