some freq optimization