added stats_db command