refactoring frequency experiments