logic is hard
simulate measurement frequency