Fixed database class