use DivvyDB alias, optimize db access