started wiring db into ftw callback