Added the ability to pass an array to dest