frequency test added