changed to hash