add database dependence