frequency is allowed to be 0