renamed database to connection