comment out direct db access