changed config data structure from list to hash