added database and a connection