database defined untested