change Array to Hash and change ary to hashthing