Tippecanoe County, IN

County

Add Comparison
2020 Population
193,302
0.913% 1-year growth
US Senator
Todd Young
Republican Party
US Senator
Mike Braun
Republican Party
2020 Median Age
28.4
0.709% 1-year increase
2020 Poverty Rate
18.9%
0.729% 1-year increase
2020 Median Household Income
$51,926
2.27% 1-year decline
2020 Median Property Value
$160,900
5.16% 1-year growth
2020 Employed Population
95,059
1.93% 1-year decline

About

In 2020, Tippecanoe County, IN had a population of 193k people with a median age of 28.4 and a median household income of $51,926. Between 2019 and 2020 the population of Tippecanoe County, IN grew from 191,553 to 193,302, a 0.913% increase and its median household income declined from $53,130 to $51,926, a −2.27% decrease.

The 5 largest ethnic groups in Tippecanoe County, IN are White (Non-Hispanic) (75.1%), Asian (Non-Hispanic) (8.06%), Black or African American (Non-Hispanic) (5.49%), White (Hispanic) (5.27%), and Other (Hispanic) (2.41%).

None of the households in Tippecanoe County, IN reported speaking a non-English language at home as their primary shared language. This does not consider the potential multi-lingual nature of households, but only the primary self-reported language spoken by all members of the household.

91.3% of the residents in Tippecanoe County, IN are U.S. citizens.

The largest universities in Tippecanoe County, IN are Purdue University-Main Campus (12,213 degrees awarded in 2020), Ross Medical Education Center-Lafayette (44 degrees), and Tricoci University of Beauty Culture-Lafayette (41 degrees).

In 2020, the median property value in Tippecanoe County, IN was $160,900, and the homeownership rate was 55.2%.

Most people in Tippecanoe County, IN drove alone to work, and the average commute time was 18.2 minutes. The average car ownership in Tippecanoe County, IN was 2 cars per household.

geosearchPopulation & Diversity

Tippecanoe County, IN is home to a population of 193k people, from which 91.3% are citizens. As of 2020, 11.8% of Tippecanoe County, IN residents were born outside of the country (22.9k people).

In 2020, there were 9.33 times more White (Non-Hispanic) residents (145k people) in Tippecanoe County, IN than any other race or ethnicity. There were 15.6k Asian (Non-Hispanic) and 10.6k Black or African American (Non-Hispanic) residents, the second and third most common ethnic groups.

Citizenship

91.3%
2020 Citizenship
90.8%
2019 Citizenship

As of 2020, 91.3% of Tippecanoe County, IN residents were US citizens, which is lower than the national average of 93.4%. In 2019, the percentage of US citizens in Tippecanoe County, IN was 90.8%, meaning that the rate of citizenship has been increasing.

The following chart shows US citizenship percentages in Tippecanoe County, IN compared to that of it's neighboring and parent geographies.

View Data
Save Image
Add Data to Cart

Race and Ethnicity

The 3 largest ethnic groups in Tippecanoe County, IN
  1. White (Non-Hispanic)
    145k ± 411
  2. Asian (Non-Hispanic)
    15.6k ± 428
  3. Black or African American (Non-Hispanic)
    10.6k ± 402
8.47%
Hispanic Population
16.4k people

In 2020, there were 9.33 times more White (Non-Hispanic) residents (145k people) in Tippecanoe County, IN than any other race or ethnicity. There were 15.6k Asian (Non-Hispanic) and 10.6k Black or African American (Non-Hispanic) residents, the second and third most common ethnic groups.

8.47% of the people in Tippecanoe County, IN are hispanic (16.4k people).

The following chart shows the 7 races represented in Tippecanoe County, IN as a share of the total population.

View Data
Save Image
Add Data to Cart

Global Diversity

The PUMS dataset is not available at the County level, so we are showing data for Indiana.
Most Common Origin
  1. Mexico
    102,901 ± 7,815 people
  2. India
    33,655 ± 4,493 people
  3. China
    21,706 ± 3,611 people

In 2020, the most common birthplace for the foreign-born residents of Indiana was Mexico, the natal country of 102,901 Indiana residents, followed by India with 33,655 and China with 21,706.

View Data
Save Image
Add Data to Cart

Foreign-Born Population

11.8%
2020 Foreign-Born Population
22.9k people
12%
2019 Foreign-Born Population
23k people

As of 2020, 11.8% of Tippecanoe County, IN residents (22.9k people) were born outside of the United States, which is lower than the national average of 13.5%. In 2019, the percentage of foreign-born citizens in Tippecanoe County, IN was 12%, meaning that the rate has been decreasing.

The following chart shows the percentage of foreign-born residents in Tippecanoe County, IN compared to that of it's neighboring and parent geographies.

View Data
Save Image
Add Data to Cart

Veterans

Most Common Service Period
  1. Vietnam
    1,989 ± 315
  2. Gulf War (2001-)
    1,316 ± 275
  3. Gulf War (1990s)
    1,007 ± 251

Tippecanoe County, IN has a large population of military personnel who served in Vietnam, 1.51 times greater than any other conflict.

View Data
Save Image
Add Data to Cart

briefcaseEconomy

The economy of Tippecanoe County, IN employs 95.1k people. The largest industries in Tippecanoe County, IN are Educational Services (21,655 people), Manufacturing (16,223 people), and Health Care & Social Assistance (9,897 people), and the highest paying industries are Utilities ($55,040), Public Administration ($49,658), and Professional, Scientific, & Technical Services ($46,198).

Males in Indiana have an average income that is 1.38 times higher than the average income of females, which is $46,739. The income inequality in Indiana (measured using the Gini index) is 0.451, which is lower than than the national average.

Occupations

95.1k
2020 Value
± 2,628
−1.93%
1 Year decline
± 3.75%

From 2019 to 2020, employment in Tippecanoe County, IN declined at a rate of −1.93%, from 96.9k employees to 95.1k employees.

The most common job groups, by number of people living in Tippecanoe County, IN, are Education Instruction, & Library Occupations (11,822 people), Production Occupations (9,603 people), and Office & Administrative Support Occupations (8,994 people). This chart illustrates the share breakdown of the primary jobs held by residents of Tippecanoe County, IN.

View Data
Save Image

Unemployment Insurance Claims

Data is only available at the state level. Showing data for Indiana.

This chart shows weekly unemployment insurance claims in Indiana (not-seasonally adjusted) compared with the four states with the most similar impact.

The most recent data point uses Advance State Claims data, which can be revised in subsequent weeks.

View Data
Save Image
Add Data to Cart

Employment by Industries

95.1k
2020 Value
± 2,628
−1.93%
1 Year decline
± 3.75%

From 2019 to 2020, employment in Tippecanoe County, IN declined at a rate of −1.93%, from 96.9k employees to 95.1k employees.

The most common employment sectors for those who live in Tippecanoe County, IN, are Educational Services (21,655 people), Manufacturing (16,223 people), and Health Care & Social Assistance (9,897 people). This chart shows the share breakdown of the primary industries for residents of Tippecanoe County, IN, though some of these residents may live in Tippecanoe County, IN and work somewhere else. Census data is tagged to a residential address, not a work address.

View Data
Save Image

Median Earnings by Industry

$37,508
Median earning men ± $1,505
$26,103
Median earning women ± $1,075

The industries with the best median earnings for men in 2020 are Public Administration ($55,026), Manufacturing ($48,397), and Wholesale Trade ($48,138).

The industries with the best median earnings for women in 2020 are Public Administration ($45,137), Construction ($40,972), and Finance & Insurance, & Real Estate & Rental & Leasing ($38,762).

View Data
Save Image
Add Data to Cart

Employment by Industry Sector

Data is only available at the state level. Showing data for Indiana.
Y-Axis
8.45%
Year-over-year growth
Employment change between May 2020 and May 2021

As of May 2021, there are 145M people employed in Indiana. This represents a 8.45% increase in employment when compared to May 2020.

The following chart shows monthly employment numbers for each industry sector in Indiana.

View Data
Save Image
Add Data to Cart

Establishments by Size

The industries with the most establishments
  1. 1,642
    Educational Services, Health Care & Social Assistance
  2. 932
    Finance & Insurance, and Real Estate, Rental & Leasing
  3. 699
    Professional, Scientific & Management, and Administrative & Waste Management Services

The visualization shows the distribution of establishments by industry and by size according to the number of employees.

View Data
Save Image

Payroll by Industry Sector

The industries with the highest total annual payroll
  1. $4.12M
    Manufacturing
  2. $1.44M
    Educational Services, Health Care & Social Assistance
  3. $379k
    Professional, Scientific & Management, and Administrative & Waste Management Services

The chart shows the total annual payroll and the average annual payroll by industry.

View Data
Save Image

Domestic Production & Consumption

Domestic production and consumption consists of products and services shipped from Indiana to other states, or from other states to Indiana.
Top Domestic Production in Dollars
  1. $78.4B
  2. $44.4B
  3. $39.6B

In 2020, the top outbound Indiana product (by dollars) was Motorized vehicles with $78.4B, followed by Mixed freight ($44.4B) and Base metals ($39.6B).

The following chart shows the share of these products in relation to all outbound Indiana products.

View Data
Save Image
Add Data to Cart

Domestic Trade Growth

Showing data for Indiana.
$486B
2020 Value in Indiana
$897B
Projected 2050 Value in Indiana
84.5% growth

In 2020, total outbound Indiana trade was $486B. This is expected to increase 84.5% to $897B by 2050.

The following chart shows how the domestic outbound Indiana trade is projected to change in comparison to its neighboring states.

View Data
Save Image
Add Data to Cart

Interstate Trade

Interstate trade consists of products and services shipped from Indiana to other states, or from other states to Indiana.
Most Common Trade Partners
  1. $41.4B
  2. $40.6B
  3. $40B

In 2020, the top outbound Indiana domestic partner for goods and services (by dollars) was Illinois with $41.4B, followed by Michigan with $40.6B and Ohio and $40B.

The following map shows the amount of trade that Indiana shares with each state (excluding itself).

View Data
Save Image
Add Data to Cart

flagCivics

In the 2020 presidential election, the popular vote in Tippecanoe County, IN went to Joseph R Biden Jr. with 49% of the vote. The runner-up was Donald J. Trump (48.4%), followed by Jo Jorgensen (2.56%).

Todd Young and Mike Braun are the senators currently representing the state of Indiana. In the United States, senators are elected to 6-year terms with the terms for individual senators staggered.

Indiana is currently represented by 9 members in the U.S. house, and members of the House of Representives are elected to 2-year terms.

US Senators from Indiana

Senatorial voting results are only available at the state level. Showing data for Indiana.
Todd Young
Senator from Indiana3
Assumed office on January 3, 2017
Mike Braun
Senator from Indiana1
Assumed office on January 3, 2019

Todd Young and Mike Braun are the senators currently representing Indiana.

In the United States, senators are elected to 6-year terms with the terms for individual senators staggered.

The following chart shows elected senators in Indiana over time, excluding special elections, colored by their political party.

View Data
Save Image
Add Data to Cart

US Representatives from Indiana

Indiana is currently represented by 9 members in the U.S. house.

Members of the House of Representives are elected to 2-year terms, and the following chart shows the how the members for Indiana have changed over time starting in 2008.

View Data
Save Image
Add Data to Cart
View Data
Save Image
Add Data to Cart

learningEducation

In 2020, universities in Tippecanoe County, IN awarded 12,333 degrees. The student population of Tippecanoe County, IN in 2020 is skewed towards men, with 26,728 male students and 20,272 female students.

Most students graduating from Universities in Tippecanoe County, IN are White (7,110 and 74.3%), followed by Asian (845 and 8.83%), Hispanic or Latino (586 and 6.12%), and Black or African American (387 and 4.04%).

The largest universities in Tippecanoe County, IN by number of degrees awarded are Purdue University-Main Campus (12,213 and 99%), Ross Medical Education Center-Lafayette (44 and 0.357%), and Tricoci University of Beauty Culture-Lafayette (41 and 0.332%).

The most popular majors in Tippecanoe County, IN are General Business Administration & Management (773 and 6.27%), Mechanical Engineering (559 and 4.53%), and Computer Science (555 and 4.5%).

The median tuition cost in Tippecanoe County, IN for a public four year colleges is $9,208 for in-state students and $28,010 for out-of-state students.

Applicants, Admissions & Enrolled

University
Measure

In 2020 in Tippecanoe County, IN, the percentage of applicants admitted was 67.2%, while the percentage of admitted who enrolled was 23.3%. The number of students enrolled in 2020 was 47,000 (56.9% men and 43.1% women).

The line chart  shows the evolution of the percentage of applicants admitted, admitted who enrolled or the number of students enrolled according to the option selected in the upper button.

View Data
Save Image
Add Data to Cart

Enrollments by Gender and Races

Universities

In 2020 there were 47,000 students enrolled in Tippecanoe County, IN, 56.9% men and 43.1% women.

By race, the largest number of students enrolled was concentrated in White with 27,823 records, of which 45.8% were women and 54.2% men.

View Data
Save Image
Add Data to Cart

Concentrations

Most Common
  1. 469 degree-majors awarded
  2. 376 degree-majors awarded
  3. 276 degree-majors awarded

In 2020, the most common concentation for Bachelors Degree recipients in Tippecanoe County, IN was Computer Science with 469 degrees awarded.

This visualization illustrates the percentage of students graduating with a Bachelors Degree from schools in Tippecanoe County, IN according to their major.

View Data
Save Image
Add Data to Cart

Universities

Gender
Race
Largest Universities by degrees awarded
  1. 12,213 degrees awarded
  2. 44 degrees awarded
  3. 41 degrees awarded

In 2020, the institution with the largest number of graduating students was Purdue University-Main Campus with 12,213 degrees awarded.

View Data
Save Image
Add Data to Cart

Student Diversity

University

In 2020, 6,797 men were awarded degrees from institutions in Tippecanoe County, IN, which is 1.23 times more than the 5,536 female students who received degrees in the same year.

In 2020 the most common race/ethnicity group awarded degrees at institutions was White students. These 7,110 degrees mean that there were 8.41 times more degrees awarded to White students then the next closest race/ethnicity group, Asian, with 845 degrees awarded.

View Data
Save Image
Add Data to Cart

Awarded Degrees over Time

The graph shows the evolution of awarded degrees by degrees. Under the paragraphs, the average number of awarded degrees by university in each degree is shown.

View Data
Save Image
Add Data to Cart
View Data
Save Image
Add Data to Cart

Average Net Price by Sector

Universities

Private not-for-profit, 2-year ($18,650) is the sector with the highest median state tuition in 2020.

Private not-for-profit, 2-year ($1,414) is the sector with the highest median state fee in 2020.

Public, 4-year or above ($1,190) is the sector with the highest average net price of books and supplies.

The graph shows the average net price by sector and year.

View Data
Save Image

Educational Pyramid

Data is only available at the state level. Showing data for Indiana.
Measure

In 2020, 0.655% of men over 25 years of age had not completed any academic degree (no schooling), while 0.645% of women were in the same situation.

This visualization shows the gender distribution of the population according to the academic level reached.

View Data
Save Image
Add Data to Cart

Educational Attainment

Data is only available at the state level. Showing data for Indiana.
Race

The most common educational levels obtained by the working population in 2020 were High School or Equivalent (1.72M), Some college (1.14M), and Bachelors Degree (831k).

This visualization illustrates the percentage distribution of the population according to the highest educational level reached. You can filter the data by race by using the selector above.

View Data
Save Image
Add Data to Cart

homeHousing & Living

The median property value in Tippecanoe County, IN was $160,900 in 2020, which is 0.7 times smaller than the national average of $229,800. Between 2019 and 2020 the median property value increased from $153,000 to $160,900, a 5.16% increase. The homeownership rate in Tippecanoe County, IN is 55.2%, which is approximately the same as the national average of 64.4%.

People in Tippecanoe County, IN have an average commute time of 18.2 minutes, and they drove alone to work. Car ownership in Tippecanoe County, IN is approximately the same as the national average, with an average of 2 cars per household.

Median household income in Tippecanoe County, IN is $51,926. In 2020, the tract with the highest Median Household Income in Tippecanoe County, IN was Census Tract 51.02 with a value of $96,786, followed by Census Tract 107 and Census Tract 106, with respective values of $91,844 and $90,094.

In 2021, 16.8% of the population was living with severe housing problems in Tippecanoe County, IN. From 2014 to 2021, the indicator declined 2.77%.

Property

$160,900
Median Property Value 2020
±$3,059
$39,564
Median Property Taxes
±$1,500

The following chart display owner-occupied housing units distributed between a series of property tax buckets compared to the national averages for each bucket. In Tippecanoe County, IN the largest share of households pay taxes in the < $800 range.

The chart underneath the paragraph shows the property taxes in Tippecanoe County, IN compared to it's parent and neighbor geographies.

View Data
Save Image
Add Data to Cart
View Data
Save Image
Add Data to Cart

Rent vs Own

55.2%
Homeownership
2020
66%
Homeowners with Mortgage
2020

In 2020, 55.2% of the housing units in Tippecanoe County, IN were occupied by their owner. This percentage grew from the previous year's rate of 55.1%.

This chart shows the percentage of owner in Tippecanoe County, IN compared it's parent and neighboring geographies.

View Data
Save Image
Add Data to Cart

Income by Location

Use the dropdown to filter by race/ethnicity.
Race/Ethnicity
Highest Median Household Income (Total)
  1. Census Tract 51.02
  2. Census Tract 107
  3. Census Tract 106

In 2020, the tract with the highest Median Household Income (Total) in Tippecanoe County, IN was Census Tract 51.02 with a value of $96,786, followed by Census Tract 107 and Census Tract 106, with respective values of $91,844 and $90,094.

The following map shows all of the tracts in Tippecanoe County, IN colored by their Median Household Income (Total).

View Data
Save Image
Add Data to Cart

Household Income

Please note that the buckets used in this visualization were not evenly distributed by ACS when publishing the data.
$51,926
Median Household Income
± $1,516
71.7k
Number of Households
± 2,276

In 2020, the median household income of the 71.7k households in Tippecanoe County, IN declined from $51,926 from the previous year's value of $53,130.

The following chart displays the households in Tippecanoe County, IN distributed between a series of income buckets compared to the national averages for each bucket. The largest share of households have an income in the $75k - $100k range.

View Data
Save Image
Add Data to Cart

Wage Distribution

The closest comparable wage GINI for Tippecanoe County, IN is from Indiana.
0.451
2020 Wage GINI in Indiana
0.455
2019 Wage GINI in Indiana

In 2020, the income inequality in Indiana was 0.451 according to the GINI calculation of the wage distribution. Income inequality had a 0.725% decline from 2019 to 2020, which means that wage distribution grew somewhat more even. The GINI for Indiana was lower than than the national average of 0.478. In other words, wages are distributed more evenly in Indiana in comparison to the national average.

This chart shows the number of workers in Indiana across various wage buckets compared to the national average.

View Data
Save Image
Add Data to Cart

Commuter Transportation

Most Common Commute in 2020
  1. Drove Alone (76.2%)
  2. Carpooled (8.55%)
  3. Walked (5.76%)

In 2020, 76.2% of workers in Tippecanoe County, IN drove alone to work, followed by those who carpooled to work (8.55%) and those who walked to work (5.76%).

The following chart shows the number of households using each mode of transportation over time, using a logarithmic scale on the y-axis to help better show variations in the smaller means of commuting.

View Data
Save Image
Add Data to Cart

Commute Time

18.2 minutes
Average Travel Time

Using averages, employees in Tippecanoe County, IN have a shorter commute time (18.2 minutes) than the normal US worker (26.9 minutes). Additionally, 0.963% of the workforce in Tippecanoe County, IN have "super commutes" in excess of 90 minutes.

The chart below shows how the median household income in Tippecanoe County, IN compares to that of it's neighboring and parent geographies.

View Data
Save Image
Add Data to Cart
View Data
Save Image
Add Data to Cart

Car Ownership

2 cars
Average Number

The following chart displays the households in Tippecanoe County, IN distributed between a series of car ownership buckets compared to the national averages for each bucket. The largest share of households in Tippecanoe County, IN have 2 cars.

View Data
Save Image
Add Data to Cart

Severe Housing Problems

In 2021, 16.8% of the population was living with severe housing problems in Tippecanoe County, IN. From 2014 to 2021, the indicator declined 2.77%.

The graph shows the trend of the percentage of the population living with severe housing problems.

View Data
Save Image
Add Data to Cart

Poverty & Diversity

18.9% of the population for whom poverty status is determined in Tippecanoe County, IN (33.2k out of 176k people) live below the poverty line, a number that is higher than the national average of 12.8%. The largest demographic living in poverty are Males 18 - 24, followed by Females 18 - 24 and then Males 25 - 34.

The most common racial or ethnic group living below the poverty line in Tippecanoe County, IN is White, followed by Asian and Black.

The Census Bureau uses a set of money income thresholds that vary by family size and composition to determine who classifies as impoverished. If a family's total income is less than the family's threshold than that family and every individual in it is considered to be living in poverty.

View Data
Save Image
Add Data to Cart

Children in Poverty

In 2021, 14% of the children was living in poverty in Tippecanoe County, IN. From 2014 to 2021, the indicator declined 6.3%.

The graph shows the trend of the percentage of the children living in poverty.

View Data
Save Image
Add Data to Cart

Crimes & Accidents

Indicator

In 2021, the number of reported violent crimes offenses per 100,000 population was 243 in Tippecanoe County, IN. From 2014 to 2021, the indicator declined 16.3 per 100,000 population.

The graph shows the trend in the number of reported violent crimes offenses per 100,000 population.

Error: TypeError: measure_.at is not a function

pulseHealth

91% of the population of Tippecanoe County, IN has health coverage, with 57.2% on employee plans, 11.2% on Medicaid, 8.86% on Medicare, 12.7% on non-group plans, and 1.11% on military or VA plans.

Per capita personal health care spending in Indiana was $8,300 in 2014. This is a 4.76% increase from the previous year ($7,923).

Primary care physicians in Tippecanoe County, IN see 1451 patients per year on average, which represents a 1.26% increase from the previous year (1433 patients). Compare this to dentists who see 2105 patients per year, and mental health providers who see 680 patients per year.

By gender, of the total number of insured persons, 50.3% were men and 49.7% were women.

Daily New Cases by Date

Showing data at the state level for Indiana. Hospitalization data for some states may be delayed or not reported.
Y-Axis

This chart shows the number of COVID-19 daily new cases by date in Indiana, as a 7-day rolling average, compared with the four states with the most similar number of confirmed cases.

View Data
Save Image
Add Data to Cart

Patient to Clinician Ratios

1,451 to 1
Patient to Primary Care Physician Ratio in Tippecanoe County, IN

Primary care physicians in Tippecanoe County, IN see an average of 1,451 patients per year. This represents a 1.26% increase from the previous year (1,433 patients).

The following chart shows how the number of patients seen by primary care physicians has been changing over time in Tippecanoe County, IN in comparison to its neighboring geographies.

View Data
Save Image
Add Data to Cart

Community Mobility

Data is only available at the state level. Showing data for Indiana.

This chart presents movement trends over time in the state of Indiana across different categories of places such as retail and recreation, groceries and pharmacies, parks, transit stations, workplaces, and residential.

View Data
Save Image
Add Data to Cart

Health Care Diversity

In 2020, insured persons according to age ranges were distributed in 23.7% under 18 years, 35.2% between 18 and 34 years, 30% between 35 and 64 years, and 11% over 64 years.

By gender, of the total number of insured persons, 50.3% were men and 49.7% were women.

The following chart shows the number of people with health coverage by gender.

View Data
Save Image
Add Data to Cart

Uninsured People

8.97%
Uninsured
57.2%
Employer Coverage
11.2%
Medicaid
8.86%
Medicare
12.7%
Non-Group
1.11%
Military or VA

Between 2017 and 2018, the percent of uninsured citizens in Tippecanoe County, IN declined by 10.3% from 9.99% to 8.97%.

The following chart shows how the percent of uninsured individuals in Tippecanoe County, IN changed over time compared with the percent of individuals enrolled in various types of health insurance.

View Data
Save Image
Add Data to Cart

Health Outcomes

Indicator

In 2021, the number of deaths among residents under age 18 per 100,000 population was 47.7 in Tippecanoe County, IN.

The graphic shows the trend of the indicator in Tippecanoe County, IN.

Error: TypeError: measure_.at is not a function

Health Behaviors

Indicator

In 2021, the percentage of the adult population (age 18 and older) that reports a body mass index (BMI) greater than or equal to 30 kg/m2 (age-adjusted) was 29.8% in Tippecanoe County, IN.

The graphic shows the trend of the indicator in Tippecanoe County, IN.

Error: TypeError: measure_.at is not a function

Clinical Care

Indicator

In 2021, the percentage of population under age 65 without health insurance was 9.56% in Tippecanoe County, IN.

The graphic shows the trend of the indicator in Tippecanoe County, IN.

Error: TypeError: measure_.at is not a function