frequency fix
range of integers only