Changed hash to array