Berkshire County, MA

County

Add Comparison
2020 Population
125,927
0.394% 1-year decline
US Senator
Elizabeth Warren
Democratic Party
US Senator
Ed Markey
Democratic Party
2020 Median Age
47.2
0.212% 1-year increase
2020 Poverty Rate
9.73%
10.7% 1-year decrease
2020 Median Household Income
$62,166
4.96% 1-year growth
2020 Median Property Value
$221,000
2.27% 1-year growth
2020 Employed Population
62,805
1.88% 1-year decline

About

In 2020, Berkshire County, MA had a population of 126k people with a median age of 47.2 and a median household income of $62,166. Between 2019 and 2020 the population of Berkshire County, MA declined from 126,425 to 125,927, a −0.394% decrease and its median household income grew from $59,230 to $62,166, a 4.96% increase.

The 5 largest ethnic groups in Berkshire County, MA are White (Non-Hispanic) (87.7%), Two+ (Non-Hispanic) (2.71%), Black or African American (Non-Hispanic) (2.51%), White (Hispanic) (2.22%), and Asian (Non-Hispanic) (1.74%).

None of the households in Berkshire County, MA 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.

97.9% of the residents in Berkshire County, MA are U.S. citizens.

The largest universities in Berkshire County, MA are Williams College (818 degrees awarded in 2020), Massachusetts College of Liberal Arts (424 degrees), and Berkshire Community College (308 degrees).

In 2020, the median property value in Berkshire County, MA was $221,000, and the homeownership rate was 70%.

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

About the photo: View from Bash Bish Falls

geosearchPopulation & Diversity

Berkshire County, MA is home to a population of 126k people, from which 97.9% are citizens. As of 2020, 5.62% of Berkshire County, MA residents were born outside of the country (7.08k people).

In 2020, there were 32.4 times more White (Non-Hispanic) residents (110k people) in Berkshire County, MA than any other race or ethnicity. There were 3.41k Two+ (Non-Hispanic) and 3.16k Black or African American (Non-Hispanic) residents, the second and third most common ethnic groups.

Citizenship

97.9%
2020 Citizenship
97.5%
2019 Citizenship

As of 2020, 97.9% of Berkshire County, MA residents were US citizens, which is higher than the national average of 93.4%. In 2019, the percentage of US citizens in Berkshire County, MA was 97.5%, meaning that the rate of citizenship has been increasing.

The following chart shows US citizenship percentages in Berkshire County, MA 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 Berkshire County, MA
  1. White (Non-Hispanic)
    110k ± 248
  2. Two+ (Non-Hispanic)
    3.41k ± 519
  3. Black or African American (Non-Hispanic)
    3.16k ± 456
4.95%
Hispanic Population
6.24k people

In 2020, there were 32.4 times more White (Non-Hispanic) residents (110k people) in Berkshire County, MA than any other race or ethnicity. There were 3.41k Two+ (Non-Hispanic) and 3.16k Black or African American (Non-Hispanic) residents, the second and third most common ethnic groups.

4.95% of the people in Berkshire County, MA are hispanic (6.24k people).

The following chart shows the 7 races represented in Berkshire County, MA 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 Massachusetts.
Most Common Origin
  1. China
    98,663 ± 7,656 people
  2. Dominican Republic
    90,760 ± 7,347 people
  3. Brazil
    81,000 ± 6,946 people

In 2020, the most common birthplace for the foreign-born residents of Massachusetts was China, the natal country of 98,663 Massachusetts residents, followed by Dominican Republic with 90,760 and Brazil with 81,000.

View Data
Save Image
Add Data to Cart

Foreign-Born Population

5.62%
2020 Foreign-Born Population
7.08k people
6.1%
2019 Foreign-Born Population
7.71k people

As of 2020, 5.62% of Berkshire County, MA residents (7.08k 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 Berkshire County, MA was 6.1%, meaning that the rate has been decreasing.

The following chart shows the percentage of foreign-born residents in Berkshire County, MA 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
    2,964 ± 387
  2. Gulf War (2001-)
    926 ± 293
  3. Gulf War (1990s)
    824 ± 244

Berkshire County, MA has a large population of military personnel who served in Vietnam, 3.2 times greater than any other conflict.

View Data
Save Image
Add Data to Cart

briefcaseEconomy

The economy of Berkshire County, MA employs 62.8k people. The largest industries in Berkshire County, MA are Health Care & Social Assistance (11,413 people), Educational Services (9,254 people), and Retail Trade (7,111 people), and the highest paying industries are Public Administration ($64,583), Utilities ($59,813), and Professional, Scientific, & Technical Services ($57,072).

Males in Massachusetts have an average income that is 1.32 times higher than the average income of females, which is $69,870. The income inequality in Massachusetts (measured using the Gini index) is 0.48, which is higher than than the national average.

Occupations

62.8k
2020 Value
± 1,834
−1.88%
1 Year decline
± 3.97%

From 2019 to 2020, employment in Berkshire County, MA declined at a rate of −1.88%, from 64k employees to 62.8k employees.

The most common job groups, by number of people living in Berkshire County, MA, are Office & Administrative Support Occupations (6,353 people), Management Occupations (6,162 people), and Education Instruction, & Library Occupations (5,915 people). This chart illustrates the share breakdown of the primary jobs held by residents of Berkshire County, MA.

View Data
Save Image

Unemployment Insurance Claims

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

This chart shows weekly unemployment insurance claims in Massachusetts (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

62.8k
2020 Value
± 1,834
−1.88%
1 Year decline
± 3.97%

From 2019 to 2020, employment in Berkshire County, MA declined at a rate of −1.88%, from 64k employees to 62.8k employees.

The most common employment sectors for those who live in Berkshire County, MA, are Health Care & Social Assistance (11,413 people), Educational Services (9,254 people), and Retail Trade (7,111 people). This chart shows the share breakdown of the primary industries for residents of Berkshire County, MA, though some of these residents may live in Berkshire County, MA and work somewhere else. Census data is tagged to a residential address, not a work address.

View Data
Save Image

Median Earnings by Industry

$46,156
Median earning men ± $1,462
$32,102
Median earning women ± $786

The industries with the best median earnings for men in 2020 are Public Administration ($64,837), Finance & Insurance, & Real Estate & Rental & Leasing ($62,418), and Manufacturing ($57,599).

The industries with the best median earnings for women in 2020 are Public Administration ($64,000), Wholesale Trade ($41,449), and Manufacturing ($40,583).

View Data
Save Image
Add Data to Cart

Employment by Industry Sector

Data is only available at the state level. Showing data for Massachusetts.
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 Massachusetts. 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 Massachusetts.

View Data
Save Image
Add Data to Cart

Establishments by Size

The industries with the most establishments
  1. 1,484
    Educational Services, Health Care & Social Assistance
  2. 898
    Professional, Scientific & Management, and Administrative & Waste Management Services
  3. 839
    Retail Trade

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. $1.84M
    Educational Services, Health Care & Social Assistance
  2. $1.15M
    Manufacturing
  3. $484k
    Finance & Insurance, and Real Estate, Rental & Leasing

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 Massachusetts to other states, or from other states to Massachusetts.
Top Domestic Production in Dollars
  1. $37.4B
  2. $29.6B
  3. $28.4B

In 2020, the top outbound Massachusetts product (by dollars) was Pharmaceuticals with $37.4B, followed by Electronics ($29.6B) and Mixed freight ($28.4B).

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

View Data
Save Image
Add Data to Cart

Domestic Trade Growth

Showing data for Massachusetts.
$314B
2020 Value in Massachusetts
$627B
Projected 2050 Value in Massachusetts
99.9% growth

In 2020, total outbound Massachusetts trade was $314B. This is expected to increase 99.9% to $627B by 2050.

The following chart shows how the domestic outbound Massachusetts 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 Massachusetts to other states, or from other states to Massachusetts.
Most Common Trade Partners
  1. $31B
  2. $23.4B
  3. $14.9B

In 2020, the top outbound Massachusetts domestic partner for goods and services (by dollars) was New York with $31B, followed by New Hampshire with $23.4B and Connecticut and $14.9B.

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

View Data
Save Image
Add Data to Cart

flagCivics

In the 2020 presidential election, the popular vote in Berkshire County, MA went to Joseph R Biden Jr. with 72% of the vote. The runner-up was Donald J. Trump (25.2%), followed by Other (1.5%).

Elizabeth Warren and Ed Markey are the senators currently representing the state of Massachusetts. In the United States, senators are elected to 6-year terms with the terms for individual senators staggered.

Massachusetts 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 Massachusetts

Senatorial voting results are only available at the state level. Showing data for Massachusetts.
Elizabeth Warren
Senator from Massachusetts1
Assumed office on January 3, 2013
Ed Markey
Senator from Massachusetts2
Assumed office on July 16, 2013
Elected to the seat to succeed Mo Cowan, who had been appointed to the seat following the resignation of John Kerry, who had become Secretary of State.

Elizabeth Warren and Ed Markey are the senators currently representing Massachusetts.

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 Massachusetts over time, excluding special elections, colored by their political party.

View Data
Save Image
Add Data to Cart

US Representatives from Massachusetts

Massachusetts 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 Massachusetts 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 Berkshire County, MA awarded 1,836 degrees. The student population of Berkshire County, MA in 2020 is skewed towards women, with 2,053 male students and 3,183 female students.

Most students graduating from Universities in Berkshire County, MA are White (1,137 and 66.7%), followed by Hispanic or Latino (178 and 10.4%), Asian (140 and 8.21%), and Black or African American (139 and 8.15%).

The largest universities in Berkshire County, MA by number of degrees awarded are Williams College (818 and 44.6%), Massachusetts College of Liberal Arts (424 and 23.1%), and Berkshire Community College (308 and 16.8%).

The most popular majors in Berkshire County, MA are Liberal Arts & Sciences (156 and 8.5%), Econometrics & Quantitative Economics (108 and 5.88%), and General English Language & Literature (102 and 5.56%).

The median tuition costs in Berkshire County, MA are $53,839 for private four year colleges, and $1,030 and $9,975 respectively, for public four year colleges for in-state students and out-of-state students.

Applicants, Admissions & Enrolled

University
Measure

In 2020 in Berkshire County, MA, the percentage of applicants admitted was 26.3%, while the percentage of admitted who enrolled was 28.6%. The number of students enrolled in 2020 was 5,236 (39.2% men and 60.8% 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 5,236 students enrolled in Berkshire County, MA, 39.2% men and 60.8% women.

By race, the largest number of students enrolled was concentrated in White with 3,078 records, of which 64.1% were women and 35.9% men.

View Data
Save Image
Add Data to Cart

Concentrations

Most Common
  1. 102 degree-majors awarded
  2. 100 degree-majors awarded
  3. 108 degree-majors awarded

In 2020, the most common concentation for Bachelors Degree recipients in Berkshire County, MA was General English Language & Literature with 102 degrees awarded.

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

View Data
Save Image
Add Data to Cart

Universities

Gender
Race
Largest Universities by degrees awarded
  1. 818 degrees awarded
  2. 424 degrees awarded
  3. 308 degrees awarded

In 2020, the institution with the largest number of graduating students was Williams College with 818 degrees awarded.

View Data
Save Image
Add Data to Cart

Student Diversity

University

In 2020, 703 men were awarded degrees from institutions in Berkshire County, MA, which is 0.62 times less than the 1,133 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 1,137 degrees mean that there were 6.39 times more degrees awarded to White students then the next closest race/ethnicity group, Hispanic or Latino, with 178 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, 4-year or above ($53,839) is the sector with the highest median state tuition in 2020.

Public, 4-year or above ($10,276) is the sector with the highest median state fee in 2020.

Private for-profit, less-than 2-year ($2,325) 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 Massachusetts.
Measure

In 2020, 0.959% of men over 25 years of age had not completed any academic degree (no schooling), while 1.04% 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 Massachusetts.
Race

The most common educational levels obtained by the working population in 2020 were High School or Equivalent (1.34M), Bachelors Degree (1.3M), and Some college (1.02M).

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 Berkshire County, MA was $221,000 in 2020, which is 0.962 times smaller than the national average of $229,800. Between 2019 and 2020 the median property value increased from $216,100 to $221,000, a 2.27% increase. The homeownership rate in Berkshire County, MA is 70%, which is approximately the same as the national average of 64.4%.

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

Median household income in Berkshire County, MA is $62,166. In 2020, the tract with the highest Median Household Income in Berkshire County, MA was Census Tract 9332 with a value of $108,224, followed by Census Tract 9201.01 and Census Tract 9005, with respective values of $93,458 and $90,530.

In 2021, 14.7% of the population was living with severe housing problems in Berkshire County, MA. From 2014 to 2021, the indicator declined 2.04%.

Property

$221,000
Median Property Value 2020
±$5,633
$38,359
Median Property Taxes
±$1,173

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 Berkshire County, MA the largest share of households pay taxes in the $3k+ range.

The chart underneath the paragraph shows the property taxes in Berkshire County, MA 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

70%
Homeownership
2020
61.5%
Homeowners with Mortgage
2020

In 2020, 70% of the housing units in Berkshire County, MA were occupied by their owner. This percentage grew from the previous year's rate of 69.2%.

This chart shows the percentage of owner in Berkshire County, MA 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 9332
  2. Census Tract 9201.01
  3. Census Tract 9005

In 2020, the tract with the highest Median Household Income (Total) in Berkshire County, MA was Census Tract 9332 with a value of $108,224, followed by Census Tract 9201.01 and Census Tract 9005, with respective values of $93,458 and $90,530.

The following map shows all of the tracts in Berkshire County, MA 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.
$62,166
Median Household Income
± $2,305
54.8k
Number of Households
± 1,669

In 2020, the median household income of the 54.8k households in Berkshire County, MA grew to $62,166 from the previous year's value of $59,230.

The following chart displays the households in Berkshire County, MA 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 Berkshire County, MA is from Massachusetts.
0.48
2020 Wage GINI in Massachusetts
0.483
2019 Wage GINI in Massachusetts

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

This chart shows the number of workers in Massachusetts 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.9%)
  2. Carpooled (7.93%)
  3. Worked At Home (7%)

In 2020, 76.9% of workers in Berkshire County, MA drove alone to work, followed by those who carpooled to work (7.93%) and those who worked at home (7%).

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

20.4 minutes
Average Travel Time

Using averages, employees in Berkshire County, MA have a shorter commute time (20.4 minutes) than the normal US worker (26.9 minutes). Additionally, 1.86% of the workforce in Berkshire County, MA have "super commutes" in excess of 90 minutes.

The chart below shows how the median household income in Berkshire County, MA 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 Berkshire County, MA distributed between a series of car ownership buckets compared to the national averages for each bucket. The largest share of households in Berkshire County, MA have 2 cars.

View Data
Save Image
Add Data to Cart

Severe Housing Problems

In 2021, 14.7% of the population was living with severe housing problems in Berkshire County, MA. From 2014 to 2021, the indicator declined 2.04%.

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

9.73% of the population for whom poverty status is determined in Berkshire County, MA (11.6k out of 120k people) live below the poverty line, a number that is lower than the national average of 12.8%. The largest demographic living in poverty are Females 25 - 34, followed by Females 45 - 54 and then Females 55 - 64.

The most common racial or ethnic group living below the poverty line in Berkshire County, MA is White, followed by Hispanic and Two Or More.

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, 16.3% of the children was living in poverty in Berkshire County, MA. From 2014 to 2021, the indicator declined 4.8%.

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 420 in Berkshire County, MA. From 2014 to 2021, the indicator declined 8.91 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

97.4% of the population of Berkshire County, MA has health coverage, with 44.8% on employee plans, 19.6% on Medicaid, 16.5% on Medicare, 15.5% on non-group plans, and 0.97% on military or VA plans.

Per capita personal health care spending in Massachusetts was $10,559 in 2014. This is a 2.78% increase from the previous year ($10,273).

Primary care physicians in Berkshire County, MA see 848 patients per year on average, which represents a 7.32% decrease from the previous year (915 patients). Compare this to dentists who see 1106 patients per year, and mental health providers who see 110 patients per year.

By gender, of the total number of insured persons, 47.4% were men and 52.6% were women.

Daily New Cases by Date

Showing data at the state level for Massachusetts. 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 Massachusetts, 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

848 to 1
Patient to Primary Care Physician Ratio in Berkshire County, MA

Primary care physicians in Berkshire County, MA see an average of 848 patients per year. This represents a 7.32% decrease from the previous year (915 patients).

The following chart shows how the number of patients seen by primary care physicians has been changing over time in Berkshire County, MA 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 Massachusetts.

This chart presents movement trends over time in the state of Massachusetts 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 18.3% under 18 years, 18.9% between 18 and 34 years, 40% between 35 and 64 years, and 22.9% over 64 years.

By gender, of the total number of insured persons, 47.4% were men and 52.6% 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

2.57%
Uninsured
44.8%
Employer Coverage
19.6%
Medicaid
16.5%
Medicare
15.5%
Non-Group
0.97%
Military or VA

Between 2019 and 2020, the percent of uninsured citizens in Berkshire County, MA declined by 15.6% from 3.04% to 2.57%.

The following chart shows how the percent of uninsured individuals in Berkshire County, MA 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 42 in Berkshire County, MA.

The graphic shows the trend of the indicator in Berkshire County, MA.

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 26.7% in Berkshire County, MA.

The graphic shows the trend of the indicator in Berkshire County, MA.

Error: TypeError: measure_.at is not a function

Clinical Care

Indicator

In 2021, the percentage of population under age 65 without health insurance was 3.46% in Berkshire County, MA.

The graphic shows the trend of the indicator in Berkshire County, MA.

Error: TypeError: measure_.at is not a function