A new study says that sharks might be jazzier than previously thought.

Like other fish, sharks are adept at homing in on sounds. Sound waves can travel up to four times faster in water than they do in air, and fish often use them to find food, locate hiding places, and communicate with other fish.

But can sharks, which are brighter than other fish, differentiate between music and associate tunes with food? Using science, PhD student Catarina Vila-Pouca and professor Culum Brown, both at the Macquarie University Fish Lab in Marsfield, New South Wales, found that the predators can be trained to identify jazz music with a food incentive.

Their results were published in the journal Animal Cognition this week.

Play That Funky Music, Shark Boy

When dying prey wriggles in the water, it gives off a low-frequency “yummy hum” that attracts larger predators to the area. Contrary to the catchy name, the sound isn’t actually a hum — rather, it consists of rapid pulses, which sharks prefer over monotonous drones.

In the past, experts thought sharks associated the sounds of a boat engine with food. In cage-diving, sharks are frequently baited with bloody chum to get the apex predators to approach divers. Despite popular belief, sharks are not human-hunting death machines. (Related: “Why Are We Afraid of Sharks? There’s a Scientific Explanation.”)