now using two databases