more database utilities