include original library, implement 'dbstats'