working to make db args accept namedtuple as db_entry