test if AVG_NUM exists