try explicitly calling hit_matrix a hash