changed array merge see @oliviermadre