Make frequency a variable.