new array function
created dropdown to key val array converter