added a description about the frequencies calculation