after database class