added zip array function