working to make db args compatible with namedtuple