added database manager