added database design