New way to calculate freq

Still wrong..