get_offset -> get_frequency