wip - first look at the freq_partial() function