added database and domain