finished transform, used each loop on array in hash