database class flushed out