updated frequency stuff