added database definition