- connected to database