switched db tables