added names key to hash