point array to hash