work with frequency objects