initially added database class