added hash from two arrays