provided frequency and entropy calculation