added multiple databases per one query