added framework for stat-determination