split into only two databases for simplicity