added database name option