new db & algo selection