priority: use db exceptions and parameters