add max,min freq