North Carolina parents are upset about a sexually explicit art assignment that was given to their children in a Charlotte-Mecklenburg middle school.

Sixth graders from Kennedy Middle School were given the task of studying the work of Artist Kara Walker that depicted an explicit sexual act, local station WSOC-TV announced that on Thursday.

Parents told the media outlet that the work was inappropriate for the children and one parent said that the child was “shocked” about it.

“I was shocked. I didn’t think I needed to look up what my child was learning in an art class,” stated school teacher Samantha Davis, according to the WSOC-TV.

Davis revealed that she discovered the work after seeing the assignments of her daughter and discovered that students, including her daughter were taking notes on the artist during class.

“I understand the topic being appropriate for college and adults. I don’t find this artist and what she depicts as something age-appropriate for middle school kids to see,” Davis stated in a report by WSOC-TV.

“To just pull it is nice, that’s great–but it shouldn’t have been there in the first place,” she said.

The school district is said to have removed the image of the painting and the principal of the middle school addressed parents concern in an email.

Also Read: Childless Woman Divides Opinion After Saying ‘I Prefer Sushi’ Over Having Kids

“It was brought to my attention that there were some inappropriate artist images that were inadvertently included in a 6th-grade art lesson while the teacher is on maternity leave. I worked with the art teacher to have the pictures removed from the CANVAS platform,” the director at Kennedy Middle School said in the letter he sent to parents, per WSOC-TV.

The principal informed students that they would ensure that all digital resources, including images and hyperlinks are vetted prior to allowing teachers to make use of them in classrooms.