changed config datatype to hash