freq. dist button for both all and office hours